package com.twu.biblioteca;

/**
 * Created by tinamt on 7/16/14.
 */
public class Customer {
    String name;
    String address;
    String phoneNumber;
    String username;

    Customer(String name, String address, String phoneNumber, String username) {
        this.name = name;
        this.address = address;
        this.phoneNumber = phoneNumber;
        this.username = username;
    }

    public String getCustomerDetails() {
        StringBuilder customerDetails = new StringBuilder();
        customerDetails.append(name).append("\t\t");
        customerDetails.append(address).append("\t\t");
        customerDetails.append(phoneNumber).append("\n");
        return customerDetails.toString();
    }

    public String getUsername() {
        return username;
    }
}
